package com.ws.game.common.components.graphic
{
	import com.ws.game.common.framework.BaseGameObject;
	
	import flash.display.Sprite;
	
	public class Triangle extends BaseGameObject
	{
		public function Triangle(color:uint=0x224466)
		{
			super();
			this.graphics.clear();
			graphics.beginFill(color, 1);
			this.graphics.lineStyle(2,color);
			this.graphics.moveTo(5,0);
			this.graphics.lineTo(0,12);
			this.graphics.lineTo(10,12);
			this.graphics.lineTo(5,0);
			this.graphics.endFill();
		}
	}
}